<%@ page import="cn.edu.zut.model.Book" %>
<%@ page import="cn.edu.zut.model.BookType" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/6/26
  Time: 11:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>图书状态修改</title>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        body{
            background-color: white;
        }
        div{
            position: absolute;
            top:150px;
            left: 350px;
            width: 150px;
            height: 150px;
            background-color: lightskyblue;
        }
        label{
            font-size: 14px;
            font-family: 宋体;
            width: 65px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            color: black;
            background-color: #3CD8FF;
            border-top-left-radius: 5px;
            border-bottom-left-radius: 5px;
        }
        .btn{
            font-size: 14px;
            font-family: 宋体;
            width: 120px;
            height: 28px;
            line-height: 28px;
            text-align: center;
            color: black;
            background-color: #3BD9FF;
            border-radius: 6px;
            border: 0;
            float: left;
        }
    </style>
</head>
<body>
<%
    Book book = (Book)request.getAttribute("bookstatus");
%>
<div>
    <form action="/bookUpdateStatus" method="get">
        <input type="hidden" name="bookid" value=<%=book.getBookid()%>>
        <label>图书名称:</label><br/><%=book.getBookname()%><br>
        <label>状态</label><br/><select name="status">
        <option value="<%=book.getStatus()%>">请选择</option>
        <option value="0">未借阅</option>
        <option value="1">已借阅</option>
        </select><br/>
        <input class="btn" type="submit" value="修   改">
    </form>
</div>
</body>
</html>
